﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="socialnexus.admin.EntryPoints.Edit" 
    MasterPageFile="~/masters/Admin.Master"
%>

<asp:Content ContentPlaceHolderID="body" runat="server">

<h2>Add an Entry Point</h2>

<div class="formLineItem">
    <asp:Label ID="lblName" runat="server" Text="Name" 
        AssociatedControlID="txtName" />
    <asp:TextBox ID="txtName" runat="server" />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtName" runat="server"
        ErrorMessage="Name is required." Display="Dynamic" />
</div>

<div class="formLineItem">
    <asp:Label ID="Label1" runat="server" Text="Description" 
        AssociatedControlID="txtDescription" />
    <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtDescription" runat="server"
        ErrorMessage="Description is required." Display="Dynamic" />
</div>

<div class="formLineItem">
    <asp:Label ID="Label2" runat="server" Text="GUID" 
        AssociatedControlID="txtGUID" />
    <asp:TextBox ID="txtGUID" runat="server" />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="txtGUID" runat="server"
        ErrorMessage="GUID is required." Display="Dynamic" />
</div>

<asp:Button runat="server" ID="btnSubmit" OnClick="btnSubmit_Click" Text="Save Changes" />
<asp:HyperLink ID="HyperLink1" NavigateUrl="~/admin/EntryPoints/" runat="server">Cancel</asp:HyperLink>

</asp:Content>